/*
package com.java.design.State;

*/
/**
 * @desc: 状态模式
 * @author: zhanghongqiang01@baijiahulian.com
 * @date: 2021/3/29 下午7:17
 *//*

public class Test {

        public static void main(String[] args) {
            MarioStateMachine marioStateMachine = new MarioStateMachine();
            marioStateMachine.getState().obtainMushRoom();
            marioStateMachine.getState().meetMonster();
            marioStateMachine.getState().meetMonster();
            Integer money = marioStateMachine.getMoney();
            System.out.println("Final money: " + money);
        }
}
*/
